<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>videojs flash</title>
    <link rel="stylesheet" href="https://unpkg.com/video.js@7.0.5/dist/video-js.css">
</head>
<body>
    <script src="https://unpkg.com/video.js@7.0.5/dist/video.js"></script>
    <script src="https://unpkg.com/videojs-flash@2.1.1/dist/videojs-flash.js"></script>
    <script src="https://unpkg.com/videojs-contrib-hls@5.14.1/dist/videojs-contrib-hls.js"></script>

    <video
        id="my-video"
        controls
        data-setup='{"techOrder": ["flash"]}'
    >
        <!-- <source src="http://cdn12.mudu.tv/uploads/9/640_480/0b4072b0e81f475d260d3a71a81ebcff.m3u8" type="application/x-mpegURL"></source> -->
        <source src="./videos/10s.m3u8" type="application/x-mpegURL">
    </video>

    <script>
    var player = videojs('my-video', {flash: {
  hls: {
    withCredentials: true
  }
}});
    var obj
    setTimeout(function () {
        obj = document.querySelector('#my-video_Flash_api')
    }, 100)
    </script>
</body>
</html>